{% extends 'df_goods/base.html' %}

{% block head %}
	<script type="text/javascript" src="/static/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="/static/js/slide.js"></script>
{% endblock head %}

{% block body %}
        <div class="center_con clearfix">
    		<ul class="subnav fl">
    			<li><a href="#model01" class="fruit">新鲜水果</a></li>
    			<li><a href="#model02" class="seafood">海鲜水产</a></li>
    			<li><a href="#model03" class="meet">猪牛羊肉</a></li>
    			<li><a href="#model04" class="egg">禽类蛋品</a></li>
    			<li><a href="#model05" class="vegetables">新鲜蔬菜</a></li>
    			<li><a href="#model06" class="ice">速冻食品</a></li>
    		</ul>
    		<div class="slide fl">
    			<ul class="slide_pics">
    				<li><img src="/static/images/slide.jpg" alt="幻灯片"></li>
    				<li><img src="/static/images/slide02.jpg" alt="幻灯片"></li>
    				<li><img src="/static/images/slide03.jpg" alt="幻灯片"></li>
    				<li><img src="/static/images/slide04.jpg" alt="幻灯片"></li>
    			</ul>
    			<div class="prev"></div>
    			<div class="next"></div>
    			<ul class="points"></ul>
    		</div>
    		<div class="adv fl">
    			<a href="#"><img src="/static/images/adv01.jpg"></a>
    			<a href="#"><img src="/static/images/adv02.jpg"></a>
    		</div>
    	</div>

    {{ body }}

{% endblock body %}

{% block script %}
{#        <script type="text/javascript" src="/static/js/slideshow.js"></script>#}
    	<script type="text/javascript">
            {#BCSlideshow('focuspic');#}
            var oFruit = document.getElementById('fruit_more');
            var oShownum = document.getElementById('show_count');

            var hasorder = localStorage.getItem('order_finish');

            if (hasorder) {
                oShownum.innerHTML = '2';
            }

            oFruit.onclick = function () {
                window.location.href = 'list.html';
            }
        </script>
{% endblock script %}
